<template>
	<view class="p20r">
		<u-parse :html="data.content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: '',
				data:''
			};
		},
		onLoad(e) {
			if (e.tit) {
				uni.setNavigationBarTitle({
					title:e.tit
				})
			}
			if (e.id) {
				this.id = e.id
			}
			this.getrmindex()
		},
		methods: {
			getrmindex() {
				this.$api.getrmindex({id:this.id}).then(res => {
					this.data=res.data
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
